export default {
    namespaced: true,
    state:{
        form : {
            
        },
        columnData : [],
        customModelData : []
    },
    mutations:{
        updateForm(state,data){
            state.form = data
        },
        updateDocumentData(state,data){
            state.documentData = data
        },
        updateFormCcid(state,data){
            state.form.ca_ccid = data.length > 0 ? data[data.length - 1] : data[0];
        },
        updateCustomModelData(state,data){
            state.customModelData = data
        }
    }
  }